
/** $Id: HandshakeMessage.java 60 2009-06-15 08:47:09Z salbanese0080@gmail.com $ */

package org.aquiferserver.common;

/**
 * @author Seth Albanese
 *
 */
public class HandshakeMessage extends AquiferMessage {
	
	private Player[] peers;
	private Integer clientId;
	
	public HandshakeMessage()
	{
		this.setType( MessageType.MT_HANDSHAKE );
		this.setSender( AquiferMessage.FROM_SERVER );		
	}
	
	public void setClientId( Integer cid ) { this.clientId = cid; }
	public Integer getClientId() { return clientId; }
	
	public void setPeers( Player[] peers ) { this.peers = peers; }
	public Player[] getPeers() { return peers; }
	
}
